package com.qingcheng.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ProjectName: qingcheng_parent
 * @ClassName: Brand
 * @Time: 2019/6/20
 * @Author: zhou24
 * @Description:
 * @Experience:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_brand")
public class Brand implements Serializable {
    /**
     * 如果类名和表名相同，@Table(name = "tb_brand")可以不用写
     * //品牌id @Id主键声名
     * name;//品牌名称
     * image;//品牌图片地址
     * letter;//品牌的首字母
     * seq;//排序
     */
    @Id
    private Integer id;
    private String name;
    private String image;
    private String letter;
    private Integer seq;
}
